﻿using System;
using System.Collections.Generic;
using System.Text;

namespace IceDog.DNL.CSharp.DesignPattern.StrategyPattern.NumberStrategy
{
    public class Context
    {
        private readonly IOperation _operation;

        public Context(IOperation operation)
        {
            _operation = operation;
        }

        public int ExecuteOperation(int numA, int numB)
        {
            return _operation.DoOperation(numA, numB);
        }
    }
}
